//
//  URLExteniosn.swift
//  JKTools
//
//  Created by 姜奎 on 2025/1/6.
//

import Foundation

extension URL {
    init?(with string: String?) {
        guard let string = string else {
            return nil
        }
        let absoluteString = string.trimmingCharacters(in: .whitespacesAndNewlines)
        self.init(string: absoluteString)
    }

}
